﻿<%@ Page Title="Iniciar sesión" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Box.Cliente.Account.Login" %>
<%@ Register Src="~/Account/OpenAuthProviders.ascx" TagPrefix="uc" TagName="OpenAuthProviders" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
  <div class="row">
  <div class="col-md-4"></div>
  <div class="col-md-4">
       <div class="panel panel-primary">
                <div class="panel-heading">
                    <hgroup class="title">
                        <div class="panel-title text-center">
                        <h1><%: Title %></h1>
                        </div>
                    </hgroup>
                </div>
                <div class="panel-body">
                        <asp:Login ID="Login1" runat="server" ViewStateMode="Disabled" RenderOuterTable="false">
                            <LayoutTemplate>
                                <p class="validation-summary-errors">
                                    <asp:Literal runat="server" ID="FailureText" />
                                </p>

                                    <div class="input-group">
                                     <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
                                    <asp:TextBox runat="server"  class="form-control" ID="UserName"  placeholder="Nombre de usuario" />
                                    </div>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="El campo de nombre de usuario es obligatorio." /></td>

                                    <div class="input-group">
                                    <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
                                    <asp:TextBox runat="server" class="form-control" ID="Password" TextMode="Password" placeholder="Contraseña" />
                                    </div>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="El campo de contraseña es obligatorio." /></td>
                             <div class="row">
                                <div class="col-md-4"></div>
                                <div class="col-md-4">
                                     
                                     <div class="form-group">
                                     <asp:Button ID="Button1" class="btn btn-default" runat="server" CommandName="Login" Text="Iniciar sesión" />
                                     </div>
                                </div>
                                <div class="col-md-4"></div>
                             </div>

                            </LayoutTemplate>
                        </asp:Login>
                        <p>
                            <asp:HyperLink runat="server" ID="RegisterHyperLink" ViewStateMode="Disabled" Visible="false">Registrarse</asp:HyperLink>
                        </p>
                </div>
            </div>
  </div>
  <div class="col-md-4"></div>

</div>
   <br />
    <br />
</asp:Content>
